package com.qijian.business.domain.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.qijian.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;

/**
 * 【请填写功能名称】对象
 *
 * @author qijian
 * @date 2024-04-23
 */

@Data
@ToString
public class InventoryArrangeDTO {


    @ApiModelProperty(value = "总数量")
    private BigDecimal quantity;

    @ApiModelProperty(value = "辅数量")
    private BigDecimal quantitySup;

    @ApiModelProperty(value = "主单位")
    private String itemUnit;

    @ApiModelProperty(value = "辅单位")
    private String itemUnitSup;

    @ApiModelProperty(value = "属性")
    private String itemProp;
    @Excel(name = "长")
    @ApiModelProperty(value = "长")
    private BigDecimal length;
    @Excel(name = "宽")
    @ApiModelProperty(value = "宽")
    private BigDecimal wide;

    @Excel(name = "厚")
    @ApiModelProperty(value = "厚")
    private String thick;
    @Excel(name = "品名")
    @ApiModelProperty(value = "库存项目")
    private String inventoryItem;

    @Excel(name = "材质")
    @ApiModelProperty(value = "材质")
    private String material;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "id")
    private Long id;

    @Excel(name = "厂区")
    @ApiModelProperty(value = "厂区")
    private String factoryArea;

    @Excel(name = "仓库")
    @ApiModelProperty(value = "仓库")
    private String inventoryType;


    @ApiModelProperty(value = "一级划分")
    private String firstType;


    @ApiModelProperty(value = "二级划分")
    private String secondType;


    @ApiModelProperty(value = "三级划分")
    private String thirdType;

    @Excel(name = "库位")
    @ApiModelProperty(value = "库位")
    private String location;

    @Excel(name = "物料编码")
    @ApiModelProperty(value = "物料编码")
    private String itemCode;

    @Excel(name = "名称")
    @ApiModelProperty(value = "名称")
    private String itemName;


    private String type;

    @Excel(name = "规格")
    @ApiModelProperty(value = "规格")
    private String spec;

    @Excel(name = "单位")
    @ApiModelProperty(value = "单位")
    private String unit;

    @Excel(name = "备注")
    @ApiModelProperty(value = "备注")
    private String remark;

    @Excel(name = "辅助属性.品牌")
    @ApiModelProperty(value = "品牌")
    private String brand;

    @Excel(name = "辅助属性.牌号")
    @ApiModelProperty(value = "牌号")
    private String mark;

    @Excel(name = "辅助属性.色号")
    @ApiModelProperty(value = "色号")
    private String color;

    @Excel(name = "物料名称")
    @ApiModelProperty(value = "色号")
    private String itemName2;

}
